package com.spring.arch.job.service;

import com.spring.arch.job.repository.JobLogRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * JobLog实体对应的业务逻辑Service实现类
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class JobLogService {

    private JobLogRepository jobLogRepository;

    @Autowired
    public JobLogService(JobLogRepository jobLogRepository){
        this.jobLogRepository = jobLogRepository;
    }

}
